package com.sdl3.render;

import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

public class PineaColor extends Structure implements Structure.ByReference {
    
    public int r, g, b, a;

    public PineaColor(int r, int g, int b, int a) {
        this.r = r;
        this.g = g;
        this.b = b;
        this.a = a;
    }

    @Override
    protected List<String> getFieldOrder() {
        return Arrays.asList("r", "g", "b", "a");
    }
}
